package com.rxmvp.rxmvpdemo.global;

import com.rxmvp.rxmvpdemo.RxRetrofit.NetApi;
import com.rxmvp.rxmvpdemo.RxRetrofit.RxRetrofitUtils;
import com.rxmvp.rxmvpdemo.activity.SecondActivity;

import javax.inject.Singleton;

import dagger.Component;

/**
 * 作者： huangRZ on 2017/1/21. 15:04
 * 邮箱：917647409@qq.com
 */
@Singleton
@Component(modules = {NetModule.class, AppModule.class})
public interface GlobalComponent{
    NetApi getNetApi();
    RxRetrofitUtils createRxRetrofit();

    void inject(SecondActivity activity);
}
